<form class="am-form tpl-form-line-form" data-am-validator id="formDoSubmitDialog" style="margin-top: 0; padding-top: 0">
<div class="widget am-cf">
    <div class="widget-head am-cf">
        <div class="widget-title  am-fl">供应商资料</div>
        <div class="widget-function am-fr">
            <button type="submit" class="am-btn am-btn-primary" id="submitBtn"><i class="am-icon-check"></i> 保存</button>
            <button type="button" class="am-btn am-btn-default" id="cennelBtn" ><i class="am-icon-ban"></i> 取消</button>
        </div>
    </div>

    <div class="widget-body  am-fr">

              <input type="hidden" name="Id" id="Id" value="{{.m.Id}}">
              <div class="am-form-group">
                  <label class="am-u-sm-3 am-form-label">名称：</label>
                  <div class="am-u-sm-9">
                    <input name="Name" type="text" id="Name"  placeholder="长度不超过80" maxlength="80" value="{{.m.Name}}" required/>
                  </div>
              </div>
              <div class="am-form-group">
                  <label class="am-u-sm-3 am-form-label">负责人：</label>
                  <div class="am-u-sm-9">
                    <input name="Contacts" type="text" id="Contacts"  placeholder="长度不超过30" maxlength="30" value="{{.m.Contacts}}" required/>
                  </div>
              </div>
              <div class="am-form-group">
                  <label class="am-u-sm-3 am-form-label">电话：</label>
                  <div class="am-u-sm-9">
                    <input name="Tel" type="text" id="Tel"  placeholder="长度不超过40" maxlength="40" value="{{.m.Tel}}" required/>
                  </div>
              </div>
              <div class="am-form-group">
                  <label class="am-u-sm-3 am-form-label">地址：</label>
                  <div class="am-u-sm-9">
                    <input name="Address" type="text" id="Address"  placeholder="长度不超过80" maxlength="80" value="{{.m.Address}}"/>
                  </div>
              </div>
              <div class="am-form-group">
                    <label class="am-u-sm-3 am-form-label">GSP证书号：</label>
                    <div class="am-u-sm-9">
                        <input name="GspCertificate" type="text" id="GspCertificate"  placeholder="长度不超过40" maxlength="40" value="{{.m.GspCertificate}}"/>
                    </div>
              </div>
              <div class="am-form-group">
                    <label class="am-u-sm-3 am-form-label">GSP证书有效期：</label>
                    <div class="am-u-sm-9">
                        <input name="GspCertificateEnddate" type="text" id="GspCertificateEnddate"  placeholder="长度不超过20" maxlength="20" value="{{.m.GspCertificateEnddate}}"/>
                    </div>
              </div>
              <div class="am-form-group">
                    <label class="am-u-sm-3 am-form-label">结算方式：</label>
                    <div class="am-u-sm-9">
                        {{range $k, $v := .paymode}}
                            <label class="am-radio am-secondary am-radio-inline">
                                  <input type="radio" id="PayMode" name="PayMode" required value="{{$k}}" data-am-ucheck> {{$v}}
                            </label>
                        {{end}}
                    </div>
              </div>
              <div class="am-form-group">
                    <label class="am-u-sm-3 am-form-label">付款方式：</label>
                    <div class="am-u-sm-9">
                        {{range $k, $v := .paymethod}}
                            <label class="am-radio am-secondary am-radio-inline">
                                <input type="radio" id="PayMethod" name="PayMethod" required value="{{$k}}" data-am-ucheck> {{$v}}
                            </label>
                        {{end}}

                    </div>
              </div>
              <div class="am-form-group">
                    <label class="am-u-sm-3 am-form-label">送货方式：</label>
                    <div class="am-u-sm-9">
                        {{range $k, $v := .deliverymode}}
                            <label class="am-radio am-secondary am-radio-inline">
                                <input type="radio" id="DeliveryMode" name="DeliveryMode" required value="{{$k}}" data-am-ucheck> {{$v}}
                            </label>
                        {{end}}
                    </div>
              </div>
              <div class="am-form-group">
                  <label class="am-u-sm-3 am-form-label">备注：</label>
                  <div class="am-u-sm-9">
                    <textarea id="Summary" name="Summary" maxlength="500">{{.m.Summary}}</textarea>
                  </div>
              </div>




    </div>
</div>
</form>